import { request } from 'umi';
//文章
export async function givePraiseArticle(params: any) {
  return request('/api/client/givePraiseArticle', {
    method: 'GET',
    params,
  });
}
//每篇文章浏览量

export async function getOneArticleLiked(params: any) {
  return request('/api/analyse/getOneArticleLiked', {
    method: 'GET',
    params,
  });
}
//每篇文章点赞量

export async function getDateArticlePv(params: any) {
  return request('/api/analyse/getDateArticlePv', {
    method: 'GET',
    params,
  });
}
export async function getOnePagePv(params: any) {
  return request('/api/analyse/getOnePagePv', {
    method: 'GET',
    params,
  });
}
